$("document").ready(function() {
        setInterval(load_tweets, 1500);
});

function load_tweets() {
        var result = '';
        $.get('http://twitter.com/statuses/user_timeline/121640759.xml?count=1', function(data){
				$(".tweet_result").remove();
				var tstatus ="";
				var tweets = "";
				var followers = "";
				$(data).find("text").each(function(){
					tstatus = "From Twitter: "+$(this).html();
				});

				$(data).find("statuses_count").each(function(){
					tweets = $(this).html();
				});

				$(data).find("followers_count").each(function(){
					followers = $(this).html();
				});
				result = result + "</p>" + "<p class='tweet_result' id='tweet'>" + tstatus + " " + tweets + " " + followers + "</br>" + "</p>";
				$("#twitter_results").append(result);
                //$("#twitter_results").prepend(result);        
        });
}
